package cn.gson.crmdemo.model.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

@Mapper
public interface QuotationMapper {
	public JSONArray selectQuotationId(@Param("quotationId")Integer quotationId);

	public JSONArray selectQuotation();
	
	public JSONArray selectMoHuQuotationTheme(@Param("quotationTheme")String quotationTheme);

	public JSONArray selectApprovalStatus(Integer approvalStatus);

	public JSONArray selectdetailspro(Integer quotationId);
	

	public int updateStatus(Integer quotationId);
	
	public List<Integer> selectcpId(@Param("cpId")Integer cpId,@Param("quotationId")Integer quotationId);
	
	public void updateQuonum(@Param("quotationDetailsNumber")Integer quotationDetailsNumber,@Param("quotationDetailsId")Integer quotationDetailsId);
	
	
}
